package cn.wygandwdn.client.controller;

import cn.wygandwdn.api.service.HelloService;
import cn.wygandwdn.core.annotation.RpcReference;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: WYG
 * @time: 2021/10/31 20:38
 */
@Component
public class HelloContorller {

    @RpcReference(group = "wh", version = "1.0.0")
    private HelloService service;

    public String getName(String first, String second) {
        String name = service.getName(first, second);
        return name;
    }

}
